package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/21 11:34
 */
@Data
public class OrderGasUpdateShareConfigRequest extends IdRequest {

    @ApiModelProperty("分红名称")
    @NotBlank(message = "分红名称不能为空")
    private String shareName;

    @ApiModelProperty("分红比例")
    @NotNull(message = "分红比例不能为空")
    private BigDecimal shareRatio;

}
